<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-scores-edit" >
		<input id="id" name="id"th:value="${scores.id}"  type="hidden">
			<div class="form-group">
			<label class="col-sm-3 control-label">发布的问卷ID：</label>
			<div class="col-sm-8">
				<input id="ksid" name="ksid"th:value="${scores.ksid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">学号，如14436101,留级生的学号与原始班级有差别：</label>
			<div class="col-sm-8">
				<input id="uid" name="uid"th:value="${scores.uid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">问卷中题目在题库中的ID：</label>
			<div class="col-sm-8">
				<input id="tiid" name="tiid"th:value="${scores.tiid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">问卷对象的选择或填写：</label>
			<div class="col-sm-8">
				<input id="stuans" name="stuans"th:value="${scores.stuans}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">提交时间：</label>
			<div class="col-sm-8">
				<input id="jjtime"  name="jjtime"th:value="${scores.jjtime}" class="form-control time-input" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">部门/班级：</label>
			<div class="col-sm-8">
				<input id="bj" name="bj"th:value="${scores.bj}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">学院/部门：</label>
			<div class="col-sm-8">
				<input id="xy" name="xy"th:value="${scores.xy}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">专业：</label>
			<div class="col-sm-8">
				<input id="zymc" name="zymc"th:value="${scores.zymc}" class="form-control" type="text">
			</div>
		</div>
		</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
	var prefix = ctx + "qn/scores";
	$("#form-scores-edit").validate({
		onkeyup: false,
		rules:{
			xxxx:{
				required:true,
			},
		}
	});

	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/editDo", $('#form-scores-edit').serialize());
		}
	}
</script>
</body>
</html>
